package com.ssy.lingxi.platform.manage.service.mobile;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.model.vo.PageVO;
import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.model.request.common.CommonIdRequest;
import com.ssy.lingxi.platform.manage.model.request.content.CollectRequest;
import com.ssy.lingxi.platform.manage.model.request.content.InformationListReq;
import com.ssy.lingxi.platform.manage.model.response.ContentInformationResponse;
import com.ssy.lingxi.platform.manage.model.response.InformationDetailResp;
import com.ssy.lingxi.platform.manage.model.response.InformationListResp;

import java.util.List;

/**
 * mobile - 自营商家 - 资讯 - 业务处理层
 * @author fhj
 * @version 2.0.0
 * @date 2021/10/25
 */
public interface IMemberInformationMobileService {

    Wrapper<PageData<InformationListResp>> list(InformationListReq req, Long memberId, Long roleId);

    Wrapper<InformationDetailResp> detail(CommonIdRequest request, UserLoginCacheDTO user);

    Wrapper<Void> collect(CollectRequest request, Long memberId, Long roleId, UserLoginCacheDTO sysUser);

    Wrapper<PageData<ContentInformationResponse>> collectList(PageVO request, Long memberId, Long roleId, UserLoginCacheDTO sysUser);

    Wrapper<List<InformationListResp>> history(Long memberId, Long roleId, UserLoginCacheDTO sysUser);
}
